<h1>Kasutajate haldus</h1>
<table class="feedbackTbl" cellspacing="0" style="width:100%">
	<tr>
		<th>{$lang['username']}</th>
		<th>{$lang['givenName']}</th>
		<th>{$lang['givenName']}</th>
		<th>{$lang['type']}</th>
		<th>{$lang['phone']}</th>
		<th></th>
	</tr>
{foreach from=$accounts item=account}
	<tr>
		{assign var=aType value='accountType_'|cat:$account->getType()}
		<td>{$account->getName()}</td>
		<td>{$account->getGivenname()}</td>
		<td>{$account->getEmail()}</td>
		<td>{$lang[$aType]}</td>
		<td>{$account->getPhone()}</td>
		<td><div class="ui-state-default ui-corner-all" title="{$lang['delete']}" style="float: right;margin-right:5px">
			<span class="ui-icon ui-icon-minus" onclick=""></span>
		</div></td>
	</tr>
{/foreach}
</table>
